#ifndef CLIENT1_H
#define CLIENT1_H
#include "tcpsocket.h"
#include <QWidget>
#include<QTcpSocket>
#include<QLabel>
#include<QLineEdit>
namespace Ui {
class client1;
}

class client1 : public QWidget
{
    Q_OBJECT

public:
    explicit client1(QWidget *parent = 0);
    ~client1();

private:
    Ui::client1 *ui;
    QTcpSocket *socket;
private slots:
    void on_conn();
    void on_readready();


    void on_pushButton_2_clicked();
    void on_buy_clicked();
    void on_information_clicked();
    void on_cancel_clicked();
signals:
    void searching();
};

#endif // CLIENT1_H
